home *** CD-ROM | disk | FTP | other *** search
/ Apple Developer Connection 1998 Fall: Game Toolkit / Disc.iso / SDKs / PCI Driver Development Kit / • Tools / Utility / DisplayNameRegistry 950412 / MakeFile < prev    next >
Encoding:
Makefile  |  1997-02-27  |  2.8 KB  |  119 lines  |  [TEXT/MPS ]

  1. #
  2. # This MPW script builds DisplayNameRegistry.
  3. # Copyright © 1994, Apple Computer Inc. All Rights Reserved.
  4. #
  5. AppCreator        =    DNPR
  6. Src                =    ":Src:"
  7. Obj                =    ":Obj:"
  8. {Obj}            ƒ    {Src}
  9. #
  10. # PCICIncludes    Defined by UserStartup•PCI in System Preferences
  11. # PCILibraries    Defined by UserStartup•PCI in System Preferences
  12. #
  13. SymOpt                  = ON
  14. PPCCOpt                 = off
  15.  
  16.  
  17. Headers    =                                        ∂
  18.         {Src}AppleEventCore.h                    ∂
  19.         {Src}DisplayNameRegistry.h                ∂
  20.         {Src}TwistDownList.h
  21.  
  22. Objects =                                        ∂
  23.         {Obj}DisplayNameRegistry.c.o            ∂
  24.         {Obj}EnumerateNameRegistry.c.o            ∂
  25.         {Obj}FormatThisProperty.c.o                ∂
  26.         {Obj}ManageDisplayList.c.o                ∂
  27.         {Obj}SaveNameRegistry.c.o                ∂
  28.         {Obj}SetFontInfoDialog.c.o                ∂
  29.         {Obj}AppleEventCore.c.o                    ∂
  30.         {Obj}DisplayWindowManager.c.o            ∂
  31.         {Obj}SpinCursor.c.o                        ∂
  32.         {Obj}TwistDownList.c.o
  33.  
  34. .c.o ƒ .c                                        ∂
  35.         {Headers}
  36.     PPCC                                        ∂
  37.         -appleext on                            ∂
  38.         -sym {SymOpt}                            ∂
  39.         -opt {PPCCOpt}                            ∂
  40.         -w off                                    ∂
  41.         -D MPW=1                                ∂
  42.         -D NoASM                                ∂
  43.         -D RS6000=0                                ∂
  44.         -D powerpc=1                            ∂
  45.         -D interface_glue                        ∂
  46.         -i "{PCICIncludes}"                        ∂
  47.         -o {TargDir}{Default}.c.o                ∂
  48.         {DepDir}{Default}.c
  49.  
  50. #
  51. # Build DisplayNameRegistry (MPW) -- since MPW appends
  52. # ".makeout", we can't have a long target name.
  53. #
  54. DisplayRegistryMPW ƒƒ                            ∂
  55.         MakeFile                                ∂
  56.         MetroWerks                                ∂
  57.         {Objects}
  58.     PPCLink                                        ∂
  59.         -main main                                ∂
  60.         -sym {SymOpt}                            ∂
  61.         {Objects}                                ∂
  62.         "{PCILibraries}"NameRegistryLib            ∂
  63.         "{PPCLibraries}"InterfaceLib.xcoff        ∂
  64.         "{PPCLibraries}"StdCRuntime.o            ∂
  65.         "{PPCLibraries}"StdCLib.xcoff            ∂
  66.         "{PPCLibraries}"PPCCRuntime.o            ∂
  67.         -o "{Obj}{targ}.xcoff"
  68.     MakePEF                                        ∂
  69.         -l NameRegistryLib.xcoff=NameRegistryLib ∂
  70.         -l InterfaceLib.xcoff=InterfaceLib        ∂
  71.         -l StdCLib.xcoff=StdCLib                ∂
  72.         -ft APPL                                ∂
  73.         -fc {AppCreator}                        ∂
  74.         -o "{targ}"                                ∂
  75.         "{Obj}{targ}.xcoff"
  76. ##    MakeSym                                        ∂
  77. ##        -i {Src}                                ∂
  78. ##        -o "MPWSymFile.xSym"                    ∂
  79. ##        -sym {SymOpt}                            ∂
  80. ##        "{Obj}{targ}.xcoff"
  81.  
  82. DisplayRegistryMPW ƒƒ                            ∂
  83.         MakeFile                                ∂
  84.         {Src}DisplayNameRegistry.h                ∂
  85.         {Src}DisplayNameRegistry.r                ∂
  86.         "DisplayNameRegistryIcons.rsrc"
  87.     Rez                                            ∂
  88.         -d MPW=1                                ∂
  89.         -t APPL                                    ∂
  90.         -c {AppCreator}                            ∂
  91.         -i "{CIncludes}"                        ∂
  92.         -i "{RIncludes}"                        ∂
  93.         {Src}DisplayNameRegistry.r                ∂
  94.         -o "{targ}"
  95.     SetFile -c {AppCreator} -t APPL "{targ}"
  96.  
  97. #
  98. # Build the MetroWerks resources.
  99. #
  100. MetroWerks        ƒ                            ∂
  101.         "DisplayNameRegistry.Δ.rsrc"
  102.     echo "MetroWerks resources created with this file"
  103.  
  104. #
  105. # Build the MetroWerks resource
  106. #
  107. "DisplayNameRegistry.Δ.rsrc" ƒ                ∂
  108.         MakeFile                            ∂
  109.         {Src}DisplayNameRegistry.h            ∂
  110.         {Src}DisplayNameRegistry.r            ∂
  111.         "DisplayNameRegistryIcons.rsrc"
  112.     Rez                                        ∂
  113.         -t rsrc                                ∂
  114.         -c RSED                                ∂
  115.         -i "{CIncludes}"                    ∂
  116.         -i "{RIncludes}"                    ∂
  117.         {Src}DisplayNameRegistry.r            ∂
  118.         -o {targ}
  119.